CXX = clang++
CC = clang
AR = ar rcs
FLAVOR = gnu
LD = clang++

CXXFLAGS = -O0 -g3 -Wall -std=c++17 -DDEBUG -fPIC
LFLAGS=-std=c++17
LANG=java

MKDIR_P = mkdir -p

MAPLELIBPATH:=$(MAPLE_ROOT)/OpenArkCompiler/output/aarch64-clang-debug/lib/64
MAPLELIBS := -L $(MAPLELIBPATH) -lmplir -loption_parser -lmplphase -lmplutil -lmempool -lmpl2mpl -lHWSecureC -ldriver_option -lmplir -loption_parser -ldriver_option

MAPLEALL_INC = -I $(MAPLEALL_SRC)/maple_ir/include \
							 -I $(MAPLEALL_SRC)/mempool/include \
							 -I $(MAPLEALL_SRC)/maple_util/include \
							 -I $(MAPLEALL_SRC)/maple_driver/include \
							 -I $(MAPLEALL_ROOT)/third_party/bounds_checking_function/include
